home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / pc / sample code / quicktime / quicktime vr / vrscript / feature files / vrsprites.h < prev   
Encoding:
Text File  |  2000-09-28  |  1.5 KB  |  49 lines

  1. //////////
  2. //
  3. //    File:        VRSprites.h
  4. //
  5. //    Contains:    Support for QuickTime sprite tracks in VR nodes.
  6. //
  7. //    Written by:    Tim Monroe
  8. //
  9. //    Copyright:    © 1998 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //    Change History (most recent first):
  12. //
  13. //       <1>         06/19/98    rtm        first file
  14. //       
  15. //////////
  16.  
  17. #pragma once
  18.  
  19. // header files
  20.  
  21. #include "ComApplication.h"
  22.  
  23. #if TARGET_OS_MAC
  24. #include "MacFramework.h"
  25. #endif
  26.  
  27. #if TARGET_OS_WIN32
  28. #include "WinFramework.h"
  29. #endif
  30.  
  31. #include "VRScript.h"
  32.  
  33.  
  34. // constants
  35.  
  36. // special value for Options field of sprite click commands
  37. #define kVRAnySprite        (UInt32)-1
  38.  
  39. // function prototypes
  40. void                        VRSprites_InitWindowData (WindowObject theWindowObject);
  41. void                        VRSprites_DumpWindowData (WindowObject theWindowObject);
  42. void                        VRSprites_SetVisibleState (WindowObject theWindowObject, QTAtomID theSpriteID, Boolean theState, UInt32 theOptions);
  43. void                        VRSprites_SetLayer (WindowObject theWindowObject, QTAtomID theSpriteID, short theLayer, UInt32 theOptions);
  44. void                        VRSprites_SetGraphicsMode (WindowObject theWindowObject, QTAtomID theSpriteID, long theMode, UInt32 theOptions);
  45. void                        VRSprites_SetImageIndex (WindowObject theWindowObject, QTAtomID theSpriteID, short theIndex, UInt32 theOptions);
  46. void                        VRSprites_SetMatrix (WindowObject theWindowObject, QTAtomID theSpriteID, MatrixRecord *theMatrix, UInt32 theOptions);
  47. void                        VRSprites_SetLocation (WindowObject theWindowObject, QTAtomID theSpriteID, Point *thePoint, UInt32 theOptions);
  48.  
  49.